public class Ladder {
    double above;
    double bottom;
    double height;
    double getArea(){
        return (above + bottom) * height/2;
    }
}
